package org.test.client.ui.content.uifeature;

import javax.swing.JButton;

import org.test.client.ui.component.panel.TitlePanePanel;
import org.test.client.ui.skinui.btn.MyButtonUI;

public class BEButtonPanel extends TitlePanePanel{

	public BEButtonPanel() {
		super("BE Skin Btn", null);
		doInit();
	}
	
	@Override
	public TitlePanePanel doInit() {
		super.doInit();
		
		
		JButton btn1 = new JButton("一个按钮");
		JButton btn2 = new JButton("一个按钮");
		btn2.setUI(MyButtonUI.createInfoBtnUI(btn2));
		JButton btn3 = new JButton("一个按钮");
		btn3.setUI(MyButtonUI.createSuccessBtnUI(btn3));
		JButton btn4 = new JButton("一个按钮");
		btn4.setUI(MyButtonUI.createWarningBtnUI(btn4));
		JButton btn5 = new JButton("一个按钮");
		btn5.setUI(MyButtonUI.createWhiteBtnUI(btn5));
		
		this.add(btn1);
		this.add(btn2);
		this.add(btn3);
		this.add(btn4);
		this.add(btn5);
		
		return this;
	}
	
	
}
